﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Runtime.Serialization;

namespace elr_tracking_bal.CATALM
{
    public class Almacen_Email : INotifyPropertyChanged
    {
        private int _ID_ALMACEN_EMAIL;
        private Almacen _ALMACEN;
        private string _EMAIL;
        private bool _IS_DEFAULT;

        public int ID_ALMACEN_EMAIL
        {
            get
            {
                return _ID_ALMACEN_EMAIL;
            }
            set
            {
                if (_ID_ALMACEN_EMAIL != value)
                {
                    _ID_ALMACEN_EMAIL = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("ID_ALMACEN_EMAIL"));
                    }
                }
            }
        }

        public string EMAIL
        {
            get
            {
                return _EMAIL;
            }
            set
            {
                if (_EMAIL != value)
                {
                    _EMAIL = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("EMAIL"));
                    }
                }
            }
        }

        public bool IS_DEFAULT
        {
            get
            {
                return _IS_DEFAULT;
            }
            set
            {
                if (_IS_DEFAULT != value)
                {
                    _IS_DEFAULT = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("IS_DEFAULT"));
                    }
                }
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
